Skip to content

Conversation

ian-twilightcoder
Copy link
Contributor

swift-build needs to support older versions of swift-frontend that don't support -Isystem. Check the driver and front end before using it. Also set TEST_LIBRARY_SEARCH_PATHS in SWIFT_SYSTEM_INCLUDE_PATHS rather than SWIFT_INCLUDE_PATHS, to match the handling for TEST_FRAMEWORK_SEARCH_PATHS -> SYSTEM_FRAMEWORK_SEARCH_PATHS.

rdar://152540600

swift-build needs to support older versions of swift-frontend that don't support -Isystem. Check the driver and front end before using it.
Also set TEST_LIBRARY_SEARCH_PATHS in SWIFT_SYSTEM_INCLUDE_PATHS rather than SWIFT_INCLUDE_PATHS, to match the handling for TEST_FRAMEWORK_SEARCH_PATHS -> SYSTEM_FRAMEWORK_SEARCH_PATHS.

rdar://152540600
@ian-twilightcoder
Copy link
Contributor Author

Related to swiftlang/swift#81964

@ian-twilightcoder
Copy link
Contributor Author

@swift-ci test

@ian-twilightcoder ian-twilightcoder merged commit 9626e28 into swiftlang:main Jun 4, 2025
24 checks passed
@ian-twilightcoder ian-twilightcoder deleted the Isystem-feature-flag branch June 4, 2025 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants